[INFO] cloning repository https://github.com/MilkBlock/hyper_board
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MilkBlock/hyper_board" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMilkBlock%2Fhyper_board", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMilkBlock%2Fhyper_board'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 333c8620c757ae98d54c762eacf7733bf1b75b9f
[INFO] fixing MilkBlock/hyper_board against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMilkBlock%2Fhyper_board" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/MilkBlock/hyper_board
[INFO] finished tweaking git repo https://github.com/MilkBlock/hyper_board
[INFO] tweaked toml for git repo https://github.com/MilkBlock/hyper_board written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MilkBlock/hyper_board on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MilkBlock/hyper_board already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: target.armv7-unknown-linux-gnueabihf.linker
[INFO] [stderr] warning: `websocket_board` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e471ebcca0a4332f2a1dab87fe3c9e9ecbdeeaafa5e0eee284121a27e6e49f71
[INFO] running `Command { std: "docker" "start" "e471ebcca0a4332f2a1dab87fe3c9e9ecbdeeaafa5e0eee284121a27e6e49f71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e471ebcca0a4332f2a1dab87fe3c9e9ecbdeeaafa5e0eee284121a27e6e49f71" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e471ebcca0a4332f2a1dab87fe3c9e9ecbdeeaafa5e0eee284121a27e6e49f71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e471ebcca0a4332f2a1dab87fe3c9e9ecbdeeaafa5e0eee284121a27e6e49f71" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr] warning: Cargo.toml: unused manifest key: target.armv7-unknown-linux-gnueabihf.linker
[INFO] [stderr] warning: `websocket_board` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking lock_api v0.4.11
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]     Checking clap_lex v0.5.1
[INFO] [stderr]     Checking embedded-hal v1.0.0
[INFO] [stderr]     Checking data-encoding v2.5.0
[INFO] [stderr]     Checking bytemuck v1.15.0
[INFO] [stderr]     Checking anstream v0.6.13
[INFO] [stderr]     Checking http v1.0.0
[INFO] [stderr]     Checking embedded-hal-nb v1.0.0
[INFO] [stderr]     Checking clap_builder v4.4.6
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]    Compiling syn v2.0.51
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking nix v0.23.2
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking nix v0.27.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking gpio-cdev v0.6.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling clap_derive v4.4.2
[INFO] [stderr]     Checking sysfs_gpio v0.6.1
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]     Checking i2cdev v0.6.0
[INFO] [stderr]     Checking spidev v0.6.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking clap v4.4.6
[INFO] [stderr]     Checking unescaper v0.1.4
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking serialport v4.3.0
[INFO] [stderr]     Checking linux-embedded-hal v0.4.0
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking websocket_board v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/main.rs (1 fix)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:111:15
[INFO] [stdout]     |
[INFO] [stdout] 111 |         match I2cdev::new("/dev/i2c-1"){
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |               up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 112 |             Ok(mut i2cdev) =>{
[INFO] [stdout]     |                ----------
[INFO] [stdout]     |                |
[INFO] [stdout]     |                `i2cdev` calls a custom destructor
[INFO] [stdout]     |                `i2cdev` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 115 |                         let mut hyper_mod = i2cdev.to_hyper_mod().await;
[INFO] [stdout]     |                             -------------   ---------------------------
[INFO] [stdout]     |                             |               |                     |
[INFO] [stdout]     |                             |               |                     this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                             |               |                     `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                             |               `__awaitee` calls a custom destructor
[INFO] [stdout]     |                             |               `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]     |                             `hyper_mod` calls a custom destructor
[INFO] [stdout]     |                             `hyper_mod` will be dropped later as of Edition 2024
[INFO] [stdout] 116 |                         board_data_arctex.lock().await.hyper_mods.push(hyper_mod)
[INFO] [stdout]     |                         ------------------------------
[INFO] [stdout]     |                         |                        |
[INFO] [stdout]     |                         |                        this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                         |                        `#3` will be dropped later as of Edition 2024
[INFO] [stdout]     |                         this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                         `#2` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 123 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `i2cdev` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `hyper_mod` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.36.0/src/sync/mutex.rs:963:1
[INFO] [stdout]     |
[INFO] [stdout] 963 | impl<T: ?Sized> Drop for MutexGuard<'_, T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:116:50
[INFO] [stdout]     |
[INFO] [stdout] 115 |                         let mut hyper_mod = i2cdev.to_hyper_mod().await;
[INFO] [stdout]     |                             -------------
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             `hyper_mod` calls a custom destructor
[INFO] [stdout]     |                             `hyper_mod` will be dropped later as of Edition 2024
[INFO] [stdout] 116 |                         board_data_arctex.lock().await.hyper_mods.push(hyper_mod)
[INFO] [stdout]     |                                                  ^^^^^
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                                  up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 117 |                     },
[INFO] [stdout]     |                     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `hyper_mod` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:204:23
[INFO] [stdout]     |
[INFO] [stdout] 200 |             let rst_gpio_line = gpio_chip.get_line(gpio);
[INFO] [stdout]     |                 -------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `rst_gpio_line` calls a custom destructor
[INFO] [stdout]     |                 `rst_gpio_line` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 203 |             } else if let Ok(gpio_line) = rst_gpio_line{
[INFO] [stdout]     |                              ---------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              `gpio_line` calls a custom destructor
[INFO] [stdout]     |                              `gpio_line` will be dropped later as of Edition 2024
[INFO] [stdout] 204 |                 match gpio_line.request(LineRequestFlags::OUTPUT, 1, "output of board"){ Ok(output_gpio_handle) => {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                       up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 211 |             }
[INFO] [stdout]     |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `rst_gpio_line` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `gpio_line` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:270:37
[INFO] [stdout]     |
[INFO] [stdout] 270 |       while let (stream,_sock_addr) = server.accept().await.expect("accept 失败") {
[INFO] [stdout]     |                                       ---------------------^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                       |               |
[INFO] [stdout]     |                                       |               this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                                       |               up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                                       |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                       |               `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                                       this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                                       up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                                       `__awaitee` calls a custom destructor
[INFO] [stdout]     |                                       `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 273 | /         tokio::spawn(async move{
[INFO] [stdout] 274 | |             // 初始化锁 
[INFO] [stdout] 275 | |             let board_data_arctex = cloned_board_data_arctex;
[INFO] [stdout] 276 | |             let global_data_arctex = cloned_global_data_arctex;
[INFO] [stdout] ...   |
[INFO] [stdout] 310 | |         });
[INFO] [stdout]     | |          -
[INFO] [stdout]     | |          |
[INFO] [stdout]     | |__________this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |            `#2` will be dropped later as of Edition 2024
[INFO] [stdout] 311 |       }
[INFO] [stdout]     |       - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.36.0/src/io/poll_evented.rs:270:1
[INFO] [stdout]     |
[INFO] [stdout] 270 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.36.0/src/io/poll_evented.rs:270:1
[INFO] [stdout]     |
[INFO] [stdout] 270 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.36.0/src/runtime/task/join.rs:350:1
[INFO] [stdout]     |
[INFO] [stdout] 350 | impl<T> Drop for JoinHandle<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/macros.rs:7:36
[INFO] [stdout]     |
[INFO] [stdout]   7 |                   match ($({count+=1;&args[count-1].parse::<$arg_n_type>()}),*){
[INFO] [stdout]     |                         -------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----
[INFO] [stdout]     |                         |            |
[INFO] [stdout]     |                         |            this temporary value will be dropped at the end of the block
[INFO] [stdout]     |                         borrow later used here
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:111:15
[INFO] [stdout]     |
[INFO] [stdout] 111 |         match I2cdev::new("/dev/i2c-1"){
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |               up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 112 |             Ok(mut i2cdev) =>{
[INFO] [stdout]     |                ----------
[INFO] [stdout]     |                |
[INFO] [stdout]     |                `i2cdev` calls a custom destructor
[INFO] [stdout]     |                `i2cdev` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 115 |                         let mut hyper_mod = i2cdev.to_hyper_mod().await;
[INFO] [stdout]     |                             -------------   ---------------------------
[INFO] [stdout]     |                             |               |                     |
[INFO] [stdout]     |                             |               |                     this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                             |               |                     `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                             |               `__awaitee` calls a custom destructor
[INFO] [stdout]     |                             |               `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]     |                             `hyper_mod` calls a custom destructor
[INFO] [stdout]     |                             `hyper_mod` will be dropped later as of Edition 2024
[INFO] [stdout] 116 |                         board_data_arctex.lock().await.hyper_mods.push(hyper_mod)
[INFO] [stdout]     |                         ------------------------------
[INFO] [stdout]     |                         |                        |
[INFO] [stdout]     |                         |                        this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                         |                        `#3` will be dropped later as of Edition 2024
[INFO] [stdout]     |                         this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                         `#2` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 123 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `i2cdev` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `hyper_mod` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.36.0/src/sync/mutex.rs:963:1
[INFO] [stdout]     |
[INFO] [stdout] 963 | impl<T: ?Sized> Drop for MutexGuard<'_, T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:116:50
[INFO] [stdout]     |
[INFO] [stdout] 115 |                         let mut hyper_mod = i2cdev.to_hyper_mod().await;
[INFO] [stdout]     |                             -------------
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             `hyper_mod` calls a custom destructor
[INFO] [stdout]     |                             `hyper_mod` will be dropped later as of Edition 2024
[INFO] [stdout] 116 |                         board_data_arctex.lock().await.hyper_mods.push(hyper_mod)
[INFO] [stdout]     |                                                  ^^^^^
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                                  up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 117 |                     },
[INFO] [stdout]     |                     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `hyper_mod` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:204:23
[INFO] [stdout]     |
[INFO] [stdout] 200 |             let rst_gpio_line = gpio_chip.get_line(gpio);
[INFO] [stdout]     |                 -------------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `rst_gpio_line` calls a custom destructor
[INFO] [stdout]     |                 `rst_gpio_line` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 203 |             } else if let Ok(gpio_line) = rst_gpio_line{
[INFO] [stdout]     |                              ---------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              `gpio_line` calls a custom destructor
[INFO] [stdout]     |                              `gpio_line` will be dropped later as of Edition 2024
[INFO] [stdout] 204 |                 match gpio_line.request(LineRequestFlags::OUTPUT, 1, "output of board"){ Ok(output_gpio_handle) => {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                       up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 211 |             }
[INFO] [stdout]     |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `rst_gpio_line` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout] note: `gpio_line` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/fd/owned.rs:196:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.44s
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:270:37
[INFO] [stdout]     |
[INFO] [stdout] 270 |       while let (stream,_sock_addr) = server.accept().await.expect("accept 失败") {
[INFO] [stdout]     |                                       ---------------------^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                       |               |
[INFO] [stdout]     |                                       |               this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     |                                       |               up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                                       |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                       |               `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                                       this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                                       up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                                       `__awaitee` calls a custom destructor
[INFO] [stdout]     |                                       `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 273 | /         tokio::spawn(async move{
[INFO] [stdout] 274 | |             // 初始化锁 
[INFO] [stdout] 275 | |             let board_data_arctex = cloned_board_data_arctex;
[INFO] [stdout] 276 | |             let global_data_arctex = cloned_global_data_arctex;
[INFO] [stdout] ...   |
[INFO] [stdout] 310 | |         });
[INFO] [stdout]     | |          -
[INFO] [stdout]     | |          |
[INFO] [stdout]     | |__________this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |            `#2` will be dropped later as of Edition 2024
[INFO] [stdout] 311 |       }
[INFO] [stdout]     |       - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.36.0/src/io/poll_evented.rs:270:1
[INFO] [stdout]     |
[INFO] [stdout] 270 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.36.0/src/io/poll_evented.rs:270:1
[INFO] [stdout]     |
[INFO] [stdout] 270 | impl<E: Source> Drop for PollEvented<E> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.36.0/src/runtime/task/join.rs:350:1
[INFO] [stdout]     |
[INFO] [stdout] 350 | impl<T> Drop for JoinHandle<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/macros.rs:7:36
[INFO] [stdout]     |
[INFO] [stdout]   7 |                   match ($({count+=1;&args[count-1].parse::<$arg_n_type>()}),*){
[INFO] [stdout]     |                         -------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----
[INFO] [stdout]     |                         |            |
[INFO] [stdout]     |                         |            this temporary value will be dropped at the end of the block
[INFO] [stdout]     |                         borrow later used here
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: websocket_board v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr] warning: Cargo.toml: unused manifest key: target.armv7-unknown-linux-gnueabihf.linker
[INFO] [stderr] warning: `websocket_board` (manifest) generated 1 warning
[INFO] [stderr]     Checking websocket_board v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `fmt::format`, `process::Command`, and `rc::Rc`
[INFO] [stdout]  --> src/request.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::format, process::Command, rc::Rc, sync::Arc, time::Duration};
[INFO] [stdout]   |           ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FutureExt`
[INFO] [stdout]  --> src/request.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures_util::{FutureExt, SinkExt, StreamExt};
[INFO] [stdout]   |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WebSocket`
[INFO] [stdout]  --> src/request.rs:8:49
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio_tungstenite::{tungstenite::{ Message, WebSocket}, MaybeTlsStream, WebSocketStream};
[INFO] [stdout]   |                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HyperMod`, `self`, and `walk_mod`
[INFO] [stdout]   --> src/request.rs:10:58
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{debug_info_blue, debug_info_red, hyper_mod::{self, FunctionalMod, HyperMod}, walk_mod, BoardData, GlobalData};
[INFO] [stdout]    |                                                          ^^^^                 ^^^^^^^^   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt::format`, `process::Output`, and `rc::Rc`
[INFO] [stdout]  --> src/main.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{fmt::format, process::Output, rc::Rc, sync::Arc};
[INFO] [stdout]   |           ^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `linux_embedded_hal::i2cdev::core::I2CDevice`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use linux_embedded_hal::i2cdev::core::I2CDevice;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stream`
[INFO] [stdout]   --> src/main.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 | use request::{read_server_sock, Stream};
[INFO] [stdout]    |                                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `timeout`
[INFO] [stdout]   --> src/main.rs:14:58
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tokio::{net::TcpListener, sync::Mutex, time::{sleep, timeout},spawn};
[INFO] [stdout]    |                                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::stream::SplitSink`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use futures::stream::SplitSink;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FutureExt` and `Sink`
[INFO] [stdout]   --> src/main.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 | use futures_util::{FutureExt, Sink, SinkExt, StreamExt};
[INFO] [stdout]    |                    ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpStream`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use tokio::net::TcpStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `WebSocketStream`, `WebSocket`, `handshake::server`, and `self`
[INFO] [stdout]   --> src/main.rs:20:53
[INFO] [stdout]    |
[INFO] [stdout] 20 | use tokio_tungstenite::{accept_async, tungstenite::{self, handshake::server, Message, WebSocket}, WebSocketStream};
[INFO] [stdout]    |                                                     ^^^^  ^^^^^^^^^^^^^^^^^           ^^^^^^^^^   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Line`
[INFO] [stdout]   --> src/main.rs:22:50
[INFO] [stdout]    |
[INFO] [stdout] 22 | use linux_embedded_hal::{gpio_cdev::{self, Chip, Line, LineHandle, LineRequestFlags}, I2cdev};
[INFO] [stdout]    |                                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/macros.rs:8:21
[INFO] [stdout]     |
[INFO] [stdout]   8 |                       ($(Ok($arg_n)),*) =>{
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt::format`, `process::Command`, and `rc::Rc`
[INFO] [stdout]  --> src/request.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::format, process::Command, rc::Rc, sync::Arc, time::Duration};
[INFO] [stdout]   |           ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FutureExt`
[INFO] [stdout]  --> src/request.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use futures_util::{FutureExt, SinkExt, StreamExt};
[INFO] [stdout]   |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WebSocket`
[INFO] [stdout]  --> src/request.rs:8:49
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio_tungstenite::{tungstenite::{ Message, WebSocket}, MaybeTlsStream, WebSocketStream};
[INFO] [stdout]   |                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HyperMod`, `self`, and `walk_mod`
[INFO] [stdout]   --> src/request.rs:10:58
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{debug_info_blue, debug_info_red, hyper_mod::{self, FunctionalMod, HyperMod}, walk_mod, BoardData, GlobalData};
[INFO] [stdout]    |                                                          ^^^^                 ^^^^^^^^   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt::format`, `process::Output`, and `rc::Rc`
[INFO] [stdout]  --> src/main.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{fmt::format, process::Output, rc::Rc, sync::Arc};
[INFO] [stdout]   |           ^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `linux_embedded_hal::i2cdev::core::I2CDevice`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use linux_embedded_hal::i2cdev::core::I2CDevice;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stream`
[INFO] [stdout]   --> src/main.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 | use request::{read_server_sock, Stream};
[INFO] [stdout]    |                                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `timeout`
[INFO] [stdout]   --> src/main.rs:14:58
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tokio::{net::TcpListener, sync::Mutex, time::{sleep, timeout},spawn};
[INFO] [stdout]    |                                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::stream::SplitSink`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use futures::stream::SplitSink;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FutureExt` and `Sink`
[INFO] [stdout]   --> src/main.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 | use futures_util::{FutureExt, Sink, SinkExt, StreamExt};
[INFO] [stdout]    |                    ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpStream`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use tokio::net::TcpStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `WebSocketStream`, `WebSocket`, `handshake::server`, and `self`
[INFO] [stdout]   --> src/main.rs:20:53
[INFO] [stdout]    |
[INFO] [stdout] 20 | use tokio_tungstenite::{accept_async, tungstenite::{self, handshake::server, Message, WebSocket}, WebSocketStream};
[INFO] [stdout]    |                                                     ^^^^  ^^^^^^^^^^^^^^^^^           ^^^^^^^^^   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Line`
[INFO] [stdout]   --> src/main.rs:22:50
[INFO] [stdout]    |
[INFO] [stdout] 22 | use linux_embedded_hal::{gpio_cdev::{self, Chip, Line, LineHandle, LineRequestFlags}, I2cdev};
[INFO] [stdout]    |                                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/macros.rs:8:21
[INFO] [stdout]     |
[INFO] [stdout]   8 |                       ($(Ok($arg_n)),*) =>{
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 100 |         Ok(mut i2cdev) =>{
[INFO] [stdout]     |            ----^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:115:29
[INFO] [stdout]     |
[INFO] [stdout] 115 |                         let mut hyper_mod = i2cdev.to_hyper_mod().await;
[INFO] [stdout]     |                             ----^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 100 |         Ok(mut i2cdev) =>{
[INFO] [stdout]     |            ----^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:115:29
[INFO] [stdout]     |
[INFO] [stdout] 115 |                         let mut hyper_mod = i2cdev.to_hyper_mod().await;
[INFO] [stdout]     |                             ----^^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/macros.rs:16:21
[INFO] [stdout]     |
[INFO] [stdout]   8 |   ...   ($(Ok($arg_n)),*) =>{
[INFO] [stdout]     |         ----------------- matches any value
[INFO] [stdout] ...
[INFO] [stdout]  16 |   ...   _ => {println!("conversion failed \x1B[31m{}\x1B[0m with args \x1B[31m{:?}\x1B[0m ",stringify!($command_name), args)}
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:253:13
[INFO] [stdout]     |
[INFO] [stdout] 253 | /             match_command!(
[INFO] [stdout] 254 | |                 command request_check with args () debug true
[INFO] [stdout] 255 | |                 in cmd_args 
[INFO] [stdout] 256 | |                 with context ctx
[INFO] [stdout] 257 | |             )
[INFO] [stdout]     | |_____________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:221:20
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let (mut write,mut read) = if !is_local_test{ 
[INFO] [stdout]     |                    ----^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:248:13
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let mut msg = read_server_sock(ctx.clone()).await;
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/macros.rs:6:21
[INFO] [stdout]     |
[INFO] [stdout]   6 |                   let mut count = 0;
[INFO] [stdout]     |                       ----^^^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:253:13
[INFO] [stdout]     |
[INFO] [stdout] 253 | /             match_command!(
[INFO] [stdout] 254 | |                 command request_check with args () debug true
[INFO] [stdout] 255 | |                 in cmd_args 
[INFO] [stdout] 256 | |                 with context ctx
[INFO] [stdout] 257 | |             )
[INFO] [stdout]     | |_____________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/macros.rs:16:21
[INFO] [stdout]     |
[INFO] [stdout]   8 |   ...   ($(Ok($arg_n)),*) =>{
[INFO] [stdout]     |         ----------------- matches any value
[INFO] [stdout] ...
[INFO] [stdout]  16 |   ...   _ => {println!("conversion failed \x1B[31m{}\x1B[0m with args \x1B[31m{:?}\x1B[0m ",stringify!($command_name), args)}
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:253:13
[INFO] [stdout]     |
[INFO] [stdout] 253 | /             match_command!(
[INFO] [stdout] 254 | |                 command request_check with args () debug true
[INFO] [stdout] 255 | |                 in cmd_args 
[INFO] [stdout] 256 | |                 with context ctx
[INFO] [stdout] 257 | |             )
[INFO] [stdout]     | |_____________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:221:20
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let (mut write,mut read) = if !is_local_test{ 
[INFO] [stdout]     |                    ----^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:248:13
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let mut msg = read_server_sock(ctx.clone()).await;
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/macros.rs:6:21
[INFO] [stdout]     |
[INFO] [stdout]   6 |                   let mut count = 0;
[INFO] [stdout]     |                       ----^^^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:253:13
[INFO] [stdout]     |
[INFO] [stdout] 253 | /             match_command!(
[INFO] [stdout] 254 | |                 command request_check with args () debug true
[INFO] [stdout] 255 | |                 in cmd_args 
[INFO] [stdout] 256 | |                 with context ctx
[INFO] [stdout] 257 | |             )
[INFO] [stdout]     | |_____________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/macros.rs:16:21
[INFO] [stdout]     |
[INFO] [stdout]   8 |   ...   ($(Ok($arg_n)),*) =>{
[INFO] [stdout]     |         ----------------- matches any value
[INFO] [stdout] ...
[INFO] [stdout]  16 |   ...   _ => {println!("conversion failed \x1B[31m{}\x1B[0m with args \x1B[31m{:?}\x1B[0m ",stringify!($command_name), args)}
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `while let` pattern
[INFO] [stdout]    --> src/main.rs:270:11
[INFO] [stdout]     |
[INFO] [stdout] 270 |     while let (stream,_sock_addr) = server.accept().await.expect("accept 失败") {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the loop will never exit
[INFO] [stdout]     = help: consider instead using a `loop { ... }` with a `let` inside it
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/macros.rs:16:21
[INFO] [stdout]     |
[INFO] [stdout]   8 |   ...   ($(Ok($arg_n)),*) =>{
[INFO] [stdout]     |         ----------------- matches any value
[INFO] [stdout] ...
[INFO] [stdout]  16 |   ...   _ => {println!("conversion failed \x1B[31m{}\x1B[0m with args \x1B[31m{:?}\x1B[0m ",stringify!($command_name), args)}
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/macros.rs:6:21
[INFO] [stdout]     |
[INFO] [stdout]   6 |                   let mut count = 0;
[INFO] [stdout]     |                       ----^^^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/macros.rs:7:37
[INFO] [stdout]     |
[INFO] [stdout]   7 |                   match ($({count+=1;&args[count-1].parse::<$arg_n_type>()}),*){
[INFO] [stdout]     |                         --------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------
[INFO] [stdout]     |                         |             |                                  |
[INFO] [stdout]     |                         |             |                                  temporary value is freed at the end of this statement
[INFO] [stdout]     |                         |             creates a temporary value which is freed while still in use
[INFO] [stdout]     |                         borrow later used here
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout]     = note: this error originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `while let` pattern
[INFO] [stdout]    --> src/main.rs:270:11
[INFO] [stdout]     |
[INFO] [stdout] 270 |     while let (stream,_sock_addr) = server.accept().await.expect("accept 失败") {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the loop will never exit
[INFO] [stdout]     = help: consider instead using a `loop { ... }` with a `let` inside it
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/macros.rs:6:21
[INFO] [stdout]     |
[INFO] [stdout]   6 |                   let mut count = 0;
[INFO] [stdout]     |                       ----^^^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/macros.rs:7:37
[INFO] [stdout]     |
[INFO] [stdout]   7 |                   match ($({count+=1;&args[count-1].parse::<$arg_n_type>()}),*){
[INFO] [stdout]     |                         --------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------
[INFO] [stdout]     |                         |             |                                  |
[INFO] [stdout]     |                         |             |                                  temporary value is freed at the end of this statement
[INFO] [stdout]     |                         |             creates a temporary value which is freed while still in use
[INFO] [stdout]     |                         borrow later used here
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout]     = note: this error originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/command_args.rs:32:65
[INFO] [stdout]    |
[INFO] [stdout] 32 |             let event_id_end_index = rev_chs.enumerate().find(|(index,ch)| *ch=='[').unwrap().0 +1;
[INFO] [stdout]    |                                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/request.rs:58:18
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub async fn log(ctx:ContextWithApp,log_string:&String){
[INFO] [stdout]    |                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handle`
[INFO] [stdout]   --> src/request.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let handle = ctx.board_data_arctex.lock().await
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/command_args.rs:32:65
[INFO] [stdout]    |
[INFO] [stdout] 32 |             let event_id_end_index = rev_chs.enumerate().find(|(index,ch)| *ch=='[').unwrap().0 +1;
[INFO] [stdout]    |                                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/request.rs:58:18
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub async fn log(ctx:ContextWithApp,log_string:&String){
[INFO] [stdout]    |                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handle`
[INFO] [stdout]   --> src/request.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let handle = ctx.board_data_arctex.lock().await
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board_data_arctex`
[INFO] [stdout]   --> src/main.rs:98:19
[INFO] [stdout]    |
[INFO] [stdout] 98 | async fn init_i2c(board_data_arctex: Arc<Mutex<BoardData>>,args:&Args){
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_board_data_arctex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i2cdev`
[INFO] [stdout]    --> src/main.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 100 |         Ok(mut i2cdev) =>{
[INFO] [stdout]     |            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i2cdev`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board_data_arctex`
[INFO] [stdout]   --> src/main.rs:98:19
[INFO] [stdout]    |
[INFO] [stdout] 98 | async fn init_i2c(board_data_arctex: Arc<Mutex<BoardData>>,args:&Args){
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_board_data_arctex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i2cdev`
[INFO] [stdout]    --> src/main.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 100 |         Ok(mut i2cdev) =>{
[INFO] [stdout]     |            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i2cdev`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board_data_arctex`
[INFO] [stdout]    --> src/main.rs:220:72
[INFO] [stdout]     |
[INFO] [stdout] 220 | ...ring,ip:String,board_data_arctex: Arc<Mutex<BoardData>>,global_data_arctex:Arc<Mutex<GlobalData>>){
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_board_data_arctex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dialogue_id`
[INFO] [stdout]    --> src/macros.rs:5:47
[INFO] [stdout]     |
[INFO] [stdout]   5 |               $(Some(CommandArgs{command ,args ,dialogue_id}) if &command == stringify!($command_name) =>{
[INFO] [stdout]     |                                                 ^^^^^^^^^^^ help: try ignoring the field: `dialogue_id: _`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:253:13
[INFO] [stdout]     |
[INFO] [stdout] 253 | /             match_command!(
[INFO] [stdout] 254 | |                 command request_check with args () debug true
[INFO] [stdout] 255 | |                 in cmd_args 
[INFO] [stdout] 256 | |                 with context ctx
[INFO] [stdout] 257 | |             )
[INFO] [stdout]     | |_____________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]    --> src/macros.rs:6:21
[INFO] [stdout]     |
[INFO] [stdout]   6 |                   let mut count = 0;
[INFO] [stdout]     |                       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:253:13
[INFO] [stdout]     |
[INFO] [stdout] 253 | /             match_command!(
[INFO] [stdout] 254 | |                 command request_check with args () debug true
[INFO] [stdout] 255 | |                 in cmd_args 
[INFO] [stdout] 256 | |                 with context ctx
[INFO] [stdout] 257 | |             )
[INFO] [stdout]     | |_____________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `count` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/macros.rs:6:21
[INFO] [stdout]     |
[INFO] [stdout]   6 |                   let mut count = 0;
[INFO] [stdout]     |                       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:253:13
[INFO] [stdout]     |
[INFO] [stdout] 253 | /             match_command!(
[INFO] [stdout] 254 | |                 command request_check with args () debug true
[INFO] [stdout] 255 | |                 in cmd_args 
[INFO] [stdout] 256 | |                 with context ctx
[INFO] [stdout] 257 | |             )
[INFO] [stdout]     | |_____________- in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dialogue_id`
[INFO] [stdout]    --> src/macros.rs:5:47
[INFO] [stdout]     |
[INFO] [stdout]   5 |               $(Some(CommandArgs{command ,args ,dialogue_id}) if &command == stringify!($command_name) =>{
[INFO] [stdout]     |                                                 ^^^^^^^^^^^ help: try ignoring the field: `dialogue_id: _`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]    --> src/macros.rs:6:21
[INFO] [stdout]     |
[INFO] [stdout]   6 |                   let mut count = 0;
[INFO] [stdout]     |                       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `count` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/macros.rs:6:21
[INFO] [stdout]     |
[INFO] [stdout]   6 |                   let mut count = 0;
[INFO] [stdout]     |                       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0716`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `board_data_arctex`
[INFO] [stdout]    --> src/main.rs:220:72
[INFO] [stdout]     |
[INFO] [stdout] 220 | ...ring,ip:String,board_data_arctex: Arc<Mutex<BoardData>>,global_data_arctex:Arc<Mutex<GlobalData>>){
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_board_data_arctex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dialogue_id`
[INFO] [stdout]    --> src/macros.rs:5:47
[INFO] [stdout]     |
[INFO] [stdout]   5 |               $(Some(CommandArgs{command ,args ,dialogue_id}) if &command == stringify!($command_name) =>{
[INFO] [stdout]     |                                                 ^^^^^^^^^^^ help: try ignoring the field: `dialogue_id: _`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:253:13
[INFO] [stdout]     |
[INFO] [stdout] 253 | /             match_command!(
[INFO] [stdout] 254 | |                 command request_check with args () debug true
[INFO] [stdout] 255 | |                 in cmd_args 
[INFO] [stdout] 256 | |                 with context ctx
[INFO] [stdout] 257 | |             )
[INFO] [stdout]     | |_____________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]    --> src/macros.rs:6:21
[INFO] [stdout]     |
[INFO] [stdout]   6 |                   let mut count = 0;
[INFO] [stdout]     |                       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:253:13
[INFO] [stdout]     |
[INFO] [stdout] 253 | /             match_command!(
[INFO] [stdout] 254 | |                 command request_check with args () debug true
[INFO] [stdout] 255 | |                 in cmd_args 
[INFO] [stdout] 256 | |                 with context ctx
[INFO] [stdout] 257 | |             )
[INFO] [stdout]     | |_____________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `count` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/macros.rs:6:21
[INFO] [stdout]     |
[INFO] [stdout]   6 |                   let mut count = 0;
[INFO] [stdout]     |                       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:253:13
[INFO] [stdout]     |
[INFO] [stdout] 253 | /             match_command!(
[INFO] [stdout] 254 | |                 command request_check with args () debug true
[INFO] [stdout] 255 | |                 in cmd_args 
[INFO] [stdout] 256 | |                 with context ctx
[INFO] [stdout] 257 | |             )
[INFO] [stdout]     | |_____________- in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `websocket_board` (bin "websocket_board") due to 1 previous error; 33 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `dialogue_id`
[INFO] [stdout]    --> src/macros.rs:5:47
[INFO] [stdout]     |
[INFO] [stdout]   5 |               $(Some(CommandArgs{command ,args ,dialogue_id}) if &command == stringify!($command_name) =>{
[INFO] [stdout]     |                                                 ^^^^^^^^^^^ help: try ignoring the field: `dialogue_id: _`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]    --> src/macros.rs:6:21
[INFO] [stdout]     |
[INFO] [stdout]   6 |                   let mut count = 0;
[INFO] [stdout]     |                       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `count` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/macros.rs:6:21
[INFO] [stdout]     |
[INFO] [stdout]   6 |                   let mut count = 0;
[INFO] [stdout]     |                       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/main.rs:300:21
[INFO] [stdout]     |
[INFO] [stdout] 300 | /                     match_command!(
[INFO] [stdout] 301 | |                         command log with args (log_str:String) debug false
[INFO] [stdout] 302 | |                         command request_occupy with args () debug true
[INFO] [stdout] 303 | |                         command update_gpio with args (pin_num:usize,state:u8) debug true 
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |                         with context ctx
[INFO] [stdout] 307 | |                     )
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `match_command` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0716`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `websocket_board` (bin "websocket_board" test) due to 1 previous error; 33 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e471ebcca0a4332f2a1dab87fe3c9e9ecbdeeaafa5e0eee284121a27e6e49f71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e471ebcca0a4332f2a1dab87fe3c9e9ecbdeeaafa5e0eee284121a27e6e49f71", kill_on_drop: false }`
[INFO] [stdout] e471ebcca0a4332f2a1dab87fe3c9e9ecbdeeaafa5e0eee284121a27e6e49f71
